<template>
	<view class="performanceViewBox">
		<view class="performanceViewBoxList">
			<view v-for="(ele,ind) in performanceViewBoxList" :class="{'Isborder':ele.isBorder}" :key="ind">
				<view>{{ele.name}}</view>
				<view @click="gotoRouter(ele)">
					<text class='iconfont icon-xiangyou' style="margin-left:5rpx;"></text>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import {
		zhixiao_IFramURl
	} from '@/config/app_member.js';
	export default {
		data() {
			return {
				performanceViewBoxList: [{
					name: "修改登录密码",
					path: "/pages/zx_users/updatepwd/updateLoginPwd",
					isJump: false
				}, {
					name: "修改支付密码",
					path: "/pages/zx_users/updatepwd/updatePayPwd",
					isJump: false
				},
				{
					name: "手机找回支付密码",
					path: "/pages/zx_users/updatepwd/findPayPassWordBySms",
					isJump: false
				}]
			}
		},
		methods: {
			gotoRouter(ele) {
				if (ele.isJump == false) {
					uni.navigateTo({
						url: ele.path
					});
				} else {
					uni.navigateTo({
						url: "/pages/user/memberCenterJumb?path=" + ele.path+"&title="+ele.name
					});
				}
			}
		}
	}
</script>

<style lang="scss">
	body,
	page {
		background: #fff;
	}

	.performanceViewBox {
		width: 100%;
		height: auto;
		padding: 10rpx 0rpx;
		background: #fff;
		box-sizing: border-box;

		.performanceViewBoxTitle {
			color: #333333;
			font-weight: bold;
			font-size: 60rpx;
			line-height: 100rpx;
			margin-bottom: 40rpx;
			padding:0 30rpx;
			box-sizing: border-box;
		}

		.performanceViewBoxList {
			>view {
				height: 115rpx;
				line-height: 115rpx;
				border-bottom: 1px solid #ccc;
				color: #333;
				font-size: 32rpx;
				display: flex;
				justify-content: space-between;
				width:calc(100% - 80rpx);
				margin-left:40rpx;
			}
			>view:nth-child(12){
				border-bottom:none;
				margin-bottom:30rpx;
			}
		}
	}
	.Isborder{
		border-bottom:2rpx solid #ccc!important;
		width:100%!important;
		padding:0 40rpx;
		box-sizing: border-box;
		margin-left:0!important;
	}
</style>
